package com.ybkj.daijia.server.service;

import com.ybkj.daijia.server.model.Admin;
import com.ybkj.daijia.server.model.Company;
import com.ybkj.daijia.server.model.Driver;
import com.ybkj.daijia.server.model.Order;
import java.util.List;
import java.util.Map;

/**
 * @author Shine
 */
public interface BossService {

    Map<String, Object> indexData(Admin admin);

    List<Driver> getWorkingDrivers(Admin admin);

    List<Order> allNewOrder(Admin admin);

    void bossCancel(Admin admin, Order order, String content);

    void bossYupaidan(Admin admin, Driver driver, Order order);

    List<Order> createOrder(Admin admin, Company company, Order order, Integer driverNum);

}
